package com.yf.construction.gather.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 数据传输类
 * </p>
 *
 * @author anyone
 * @since 2024-09-13 16:38
 */
@Data
@ApiModel(value = "数据收集", description = "ConstructionGather")
public class ConstructionGatherDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    private String id;

    private String dataSourceType;

    private String sensorId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    private String location;

    private String parameterType;

    private String value;


}
